//
//  GYMainShopSelectCell.h
//  GoodLuck
//
//  Created by apple on 2018/2/2.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^selectGoodsDistributionAddress)();
typedef void(^defaultBtuClickBlock)();

@interface GYMainShopSelectCell : UITableViewCell

/** 数据信息(后期转变成数据模型较好) */
@property (nonatomic, strong) NSDictionary *goodsDetails;

/** 地址 */
@property (nonatomic, strong) NSString *selectAddress;

/** 选择地址 地区id */
@property (nonatomic, strong) NSString *selectAread_id;

/** 地址选择block */
@property (nonatomic, copy) selectGoodsDistributionAddress selectGoodsDistrbutionAddressCallBack ;

/** 默认按钮点击block */
@property (nonatomic, copy) defaultBtuClickBlock defaultBtuClickCallBack;

+ (instancetype)mainShopSelectCellWithTableView:(UITableView *)tableView;


/**
 动态获取cell的高度

 @param model 数据 (后期转变成为数据模型较好)
 @return <#return value description#>
 */
- (CGFloat)cellHeight:(NSDictionary *)model;
@end
